<template>
  <div>
    <Row type="flex" justify="space-around" class="code-row-bg">
      <Col span="7">
      <p>姓名：<span>{{userInfo.name}}</span></p>
      </Col>
      <Col span="7">
      <p>学院：<span>{{userInfo.colle_name}}</span></p>
      </Col>
      <Col span="7">
      <p>邮箱：<span>{{userInfo.email}}</span></p>
      </Col>
    </Row>
    <Row type="flex" justify="space-around" class="code-row-bg">
      <Col span="7">
      <p>性别：<span>{{userInfo.sex==1?'男':'女'}}</span></p>
      </Col>
      <Col span="7">
      <p>专业：<span>{{userInfo.major_name}}</span></p>
      </Col>
      <Col span="7">
      <p>手机：<span>{{userInfo.phone}}</span></p>
      </Col>
    </Row>
  </div>
</template>

<script>
  export default {
    data () {
      return {
        userInfo: JSON.parse(window.sessionStorage.getItem("userInfo"))
      }
    },
    mounted () {

    },
  }
</script>

<style scoped>
</style>
